package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;


/**
 * 售后类型
 *
 * @author  wx
 * @date  2019/9/27 10:02
 * @since  1.0
 */

@NoArgsConstructor
public enum AfterSalesTypeEnum implements IBaseEnum<Integer> {
    /**
     * 退货
     */
    RETURN_GOODS(1,"退货"),
    /**
     * 换货
     */
    EXCHANE_GOODS(2,"换货");
    private int value;
    private String desp;

    AfterSalesTypeEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }
    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
